﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ERP.Domain.Workorders
{
    /// <summary>
    /// 生产工单管理
    /// </summary>
    public class Workorder
    {
        [Key]
        public int Id { get; set; }
        /// <summary>
        /// 工单编号
        /// </summary>
        public string WorkorderCode {  get; set; }
        /// <summary>
        /// 工单名称
        /// </summary>
        public string WorkorderName { get; set; }
        /// <summary>
        /// 计划生产物品
        /// </summary>
        public string Object {  get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public int WorkorderState {  get; set; }
        /// <summary>
        /// 进度
        /// </summary>
        public string progress { get; set; }
        /// <summary>
        /// 工序流程
        /// </summary>
        public int ProcessflowId {  get; set; }
        /// <summary>
        /// 逻辑删除标识符
        /// </summary>
        public bool? IsDelete { get; set; } = false;
    }
}
